<template>
    <view class="wf-item-page">
        <image :src="item.image" mode="widthFix" class="item-img"/>
        <view class="info-des text-overflow">{{ item.des }}</view>
        <view class="item-info">
            <view class="info-title text-overflow">{{ item.title }}</view>
			<view class="info-price">{{ item.price }}元</view>
        </view>
    </view>
</template>

<script>
export default {
    props: {
        item: {
            type: Object,
            require: true,
        }
    }
}
</script>

<style lang="scss" scoped>
.wf-item-page {
    background: #fff;
    overflow: hidden;
    border-radius: 5px;
}
.item-img {
    width: 100%;
}
.item-info {
    display: flex;
    align-items: center;
    padding: 5px;
}
.info-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 5px;
}
.info-title {
    font-size: 12px;
    color: #333;
	width: 70%;
}
.info-des {
    font-size: 12px;
    color: #333;
	width: 100%;
    margin-left: 5px;
    margin-right: 5px;
}
.info-price{
	width: 30%;
    color: #646400;
	font-size: 10px;
	text-align: right;
}
</style>
